<fix>[storage]: ZSTAC-81222 defer referenced reimage trash - #4675
<fix>[storage]: ZSTAC-81222 defer referenced reimage trash#4675ZStack-Robot wants to merge 1 commit into
Conversation
Keep an old root out of reimage trash while downstream snapshot references still depend on it. Persist reference cleanup, protect remaining leaves at execution time, and retry external primary storage deletion from leaf to root using only the undeleted suffix. Sync capacity and remove matching legacy reimage trash after cleanup. Resolves: ZSTAC-81222 Change-Id: I500146d6898405f4df0cc18a1d8a4aaa94fee49d
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 24 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: http://open.zstack.ai:20001/code-reviews/zstack-cloud.yaml (via .coderabbit.yaml) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
Comment |
Summary
Keep the old root volume out of trash while linked-clone children still depend on its snapshot chain. Transfer cleanup ownership to the existing trash/GC path after the last reference is removed.
Changes
ReimageVolumetrash creation while downstream references exist.Testing
mvn -pl storage -am -Dmaven.test.skip=true compileResolves: ZSTAC-81222
sync from gitlab !10704